<?php /* Smarty version Smarty-3.0.7, created on 2011-09-21 13:26:59
         compiled from "components/filter/filtertableimptransfer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17364893244e79ca03c26247-65826416%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '930f28f7274336df09038a991f60e9016bcc5633' => 
    array (
      0 => 'components/filter/filtertableimptransfer.tpl',
      1 => 1316604382,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17364893244e79ca03c26247-65826416',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php echo $_smarty_tpl->getVariable('borderopen')->value;?>

		<div class="scrolldiv">
		<table id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" name="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_tbl_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
" class="filtertable">
			<thead>
				<tr>
					<th width="20px"></th>
					<th width="20px"></th>
					<th width="70px"></th>
					<th width="20px"></th>
					<th width="20px"></th>
					<th width="40px"></th>
					<th width="50px"></th>
					<th></th>
					<th></th>
					<th></th>
					<th width="110px"></th>
					<th width="110px"></th>
					<?php if (($_smarty_tpl->getVariable('list')->value['code']==1)){?>
					<th></th>
					<?php }?>
				</tr>
				<tr>
					<th colspan="3"><?php echo $_smarty_tpl->getVariable('list')->value['lblcreationdate'];?>
</th>
					<th colspan="3"><?php echo $_smarty_tpl->getVariable('list')->value['lblimpositiontype'];?>
</th>
					<th colspan="3"><?php echo $_smarty_tpl->getVariable('list')->value['lblcehcqueaccount'];?>
</th>
					<th><?php echo $_smarty_tpl->getVariable('list')->value['lblamount'];?>
</th>
					<th><?php echo $_smarty_tpl->getVariable('list')->value['lblexpdate'];?>
</th>
					<th><?php echo $_smarty_tpl->getVariable('list')->value['lblpayed'];?>
</th>
					<?php if (($_smarty_tpl->getVariable('list')->value['code']==1)){?>
						<th><?php echo $_smarty_tpl->getVariable('list')->value['lblinvoicestatus'];?>
</th>
					<?php }?>
				</tr>
			</thead>
			<tbody id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_tbl">
			<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
				<?php if (($_smarty_tpl->tpl_vars['row']->value['type']=="IMP")){?>
					<?php $_smarty_tpl->tpl_vars['rowid'] = new Smarty_variable($_smarty_tpl->tpl_vars['row']->value['id'], null, null);?>
					<tr id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_tbl_row_<?php echo $_smarty_tpl->getVariable('rowid')->value;?>
_IMP" class="highlightrow selectedrow color<?php echo $_smarty_tpl->tpl_vars['row']->value['color'];?>
" height="15px" onclick="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_imptransfilter.rowClick('<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_tbl', <?php echo $_smarty_tpl->getVariable('rowid')->value;?>
);" name="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
 style=" background-color: #BFBFBF;">
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['creationdate'];?>
</td>
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['impositiontype'];?>
</td>
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['account'];?>
</td>
						<td><?php echo $_smarty_tpl->tpl_vars['row']->value['amount'];?>
</td>
						<td><?php echo $_smarty_tpl->tpl_vars['row']->value['expdate'];?>
</td>
						<td><?php echo $_smarty_tpl->tpl_vars['row']->value['fullfilled'];?>
</td>
						<?php if (($_smarty_tpl->getVariable('list')->value['code']==1)){?>
							<td><?php echo $_smarty_tpl->tpl_vars['row']->value['invoicestatus'];?>
</td>
						<?php }?>
				<?php }elseif(($_smarty_tpl->tpl_vars['row']->value['type']=="INV")){?>
					<tr id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_tbl_row_<?php echo $_smarty_tpl->getVariable('rowid')->value;?>
_INV" class="highlightrow hide" height="15px" name="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">
						<td></td>
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['invoiceexpdate'];?>
</td>
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['invoicedate'];?>
</td>
						<td colspan="<?php if (($_smarty_tpl->getVariable('list')->value['code']==1)){?>6<?php }else{ ?>5<?php }?>"><?php echo $_smarty_tpl->tpl_vars['row']->value['invoicenumber'];?>
</td>
				<?php }elseif(($_smarty_tpl->tpl_vars['row']->value['type']=="TRA")){?>
					<tr id="<?php echo $_smarty_tpl->getVariable('list')->value['compname'];?>
_<?php echo $_smarty_tpl->getVariable('list')->value['name'];?>
_tbl_row_<?php echo $_smarty_tpl->getVariable('rowid')->value;?>
_TRA" class="highlightrow hide" height="15px" name="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">
						<td></td>
						<td><?php echo $_smarty_tpl->tpl_vars['row']->value['rownum'];?>
</td>
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['date'];?>
</td>
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['amount'];?>
</td>
						<td colspan="3"><?php echo $_smarty_tpl->tpl_vars['row']->value['account'];?>
</td>
						<td colspan="<?php if (($_smarty_tpl->getVariable('list')->value['code']==1)){?>2<?php }else{ ?>1<?php }?>"><?php echo $_smarty_tpl->tpl_vars['row']->value['banknumber'];?>
</td>
				<?php }?>
				</tr>
				<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->getVariable('i')->value+1, null, null);?>
			<?php }} ?>
			</tbody>
		</table>
		</div>
		<?php if ($_smarty_tpl->getVariable('list')->value['buttons']){?>
			<br/>
		<?php }?>
<?php echo $_smarty_tpl->getVariable('borderclose')->value;?>

